package com.zc.study.thread.多线程第四章节.thread4_1_2;


public class ThreadBB extends Thread{
    private Service service;
    public ThreadBB(Service service) {
        this.service=service;
    }

    @Override
    public void run() {
        super.run();
        service.methodB();
    }
}
